package com.djinfo.work.service;

import com.djinfo.work.common.bean.AjaxJson;
import com.djinfo.work.entity.QsQuestionEntity;
import com.djinfo.work.entity.QsTitleEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @date 2017-06-08 10:48:15
 */
public interface QsTitleService {


	
	AjaxJson saveOrUpdate(QsTitleEntity qsTitle, HttpServletRequest request);

	AjaxJson delete(QsTitleEntity qsTitle);

	AjaxJson getList(QsTitleEntity qsTitleEntity, Integer pagenum, Integer pagesize);

	QsTitleEntity getQsTitleById(String id);

	AjaxJson getTitleListBySearch(QsTitleEntity qsTitleEntity);
	public AjaxJson getQuestionList(QsQuestionEntity qsQuestionEntity);
	public List getTitleListById(String id);
	public Integer getTLevelMaxByQsId(String id);
	public List<QsTitleEntity> getTitleListByLevel(String qid,String level);

}
